package com.home.cop.employee.mapper;

import com.home.cop.employee.model.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMenuMapper {
    /**
     * 根据角色获取菜单
     * @param roleId
     * @return
     */
    public List<SysMenu> getSysMenuByRoleId(@Param("roleId") Integer roleId);

    /**
     * 获取所有的菜单
     * @return
     */
    public List<SysMenu> getAllSysMenu();

}